home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
c't freeware shareware 2001 January
/
CT_SW0101.ISO
/
mac
/
software
/
office
/
text
/
quoedit.sit
/
QuoEdit 1.0.0b
/
Miscellaneous
/
QEAE.h
< prev
next >
Wrap
Text File
|
2001-03-27
|
9KB
|
260 lines
/*
QEAE.h for C and Rez
Type declarations of Apple events
defined in QuoEdit version 1.0.0
March, 2001
Copyright Lyomei Sakai 1996-2001 All rights reserved.
*/
/* classes */
#define cByte 'byt '
#define cBasicProps 'bPrp' // just for compacting 'aete' code
#define cDocumentProps 'dPrp' // just for compacting 'aete' code
#define cBatchFindResult 'BFRs' // human name is "batch found"
#define cBFHitsGroup 'bfHG'
#define cBFHit 'bfHt'
#define cPrintRecord 'PREC' // human name is undefined
#define cGroupMatch 'GrMt'
#define cDialogBox 'cdbx' // human name is undefined
/* suite code, event class */
#define kAEQuoEdit 'QEdt'
#define kAEMyMiscellaneous 'Misc'
/* event IDs */
#define kAEDoCopy 'Copy'
#define kAEInsert 'insr'
#define kAEFind 'Find'
#define kAESearch 'Sear'
#define kAESearchNextFile 'SNxF'
#define kAEGoToMatch 'goMt'
#define kAEReplaceSelection 'Rep '
#define kAEReplaceAll 'RepA'
#define kAEArrangeWindows 'ArWn'
#define kAEPrevWindow 'PrWn'
#define kAENextWindow 'NxWn'
#define kAESpeak 'spk '
#define kAEDoKeyAction 'KeyA'
#define kAEJumpTo 'JmpT'
#define kAECompile 'cpil'
#define kAEGetProperties 'GPrs'
#define kAEHardWrap 'HWrp' // since 0.71
#define kAETag 'Tag ' // since 0.7
#define kAETransliterate 'Trl '
/* keywords */
#define keyRemember 'Remb'
#define keyWithDialogBox 'wDBx'
#define keyShift 'Shft' // since 0.7
#define keyCopies 'NCOP' // obsoleted
#define keyLines 'Lins' // since 0.7
#define keyAsStationery 'AsSt'
#define keySaveResources 'kSRs' // since 1.0
#define keyWithStylInfo 'wStl'
#define keyActivateWindow 'actv' // for select event (using kAEActivate from "AERegistry.r")
#define keyFindDirection 'fDir'
#define keyExtendSelection 'ExS '
#define keySelectDest 'SDst'
#define keySearchString 'SStr'
#define keyReplaceString 'RStr'
#define keyCaseIgnoring 'kIgC'
#define keyCaseSensitive 'kCSv' // (to be obsoleted)
#define keyEntireWord 'kEWd'
#define keyGrep 'kGrp' // (old name)
#define keyRegexSearch 'kGrp'
#define keyDesiredSearchLevel 'SLev'
#define keyShowResult 'ShRs'
#define keyScriptCode 'ScpC'
#define keyInObject 'inOj'
#define keyStacking 'Stac'
#define keyWithMoving '+Mov'
#define keyIgnoreNoUSErr 'INSE'
#define keyKeepInMemory 'KpMm'
#define keyLineLength 'BLen' // parameter of kAEHardWrap
#define keyRmvTrailings 'RmTS' // parameter of kAEHardWrap
#define keySelectResult 'SelR' // parameter of kAEHardWrap
#define keyRemove 'kRmv' // parameter of kAETag
#define keyEachParagraph 'kEPg' // parameter of kAETag
#define keySelectionLevel 'SeLv' // parameter of kAETag
#define keyTlTargetFormat 'TlTf'
#define keyTlTargetModifier 'TlTM'
#define keyTlSourceMask 'TlSM'
#define keyModifierKeys 'ModK'
#define keyTimes 'Tims'
#define keyAvoidScrolling 'AvSc' // parameter of kAECompile
#define keyForcing 'Frcn'
#define keySelector 'kSel'
/* properties */
#define pInverted 'pInv'
#define pMeshed 'pMsh'
#define pShowLocation 'pShL'
#define pShowCode 'pShC'
#define pShowReturns 'pShR'
#define pShowTabs 'pShT'
#define pShowSpaces 'pShS'
#define pBoldCaret 'pBCr'
#define pLocInfoKind 'pLIK'
#define pTurningWindow 'pTPt'
#define pAutoIndent 'pAIn'
#define pIntelCutPaste 'pICP'
#define pRememberSelection 'pRSl'
#define pTSMAware 'pTSM'
#define pUseNavigation 'pUNv'
#define pCaretSpeed 'pCSp'
#define pUndoLevels 'pUdL'
#define pSearchString 'pSSt'
#define pReplaceString 'pRSt'
#define pCaseIgnoring 'pIgC'
#define pCaseSensitive 'pCSv' // (to be obsoleted)
#define pEntireWord 'pEWd'
#define pGrep 'pGrp' // (old name)
#define pRegexSearch 'pGrp'
#define pCanSearchNext 'pcSN'
#define pSpeaking 'pSpn'
#define pPausing 'pPau'
#define pChosenMenuItemInfo 'pCCI' // since 0.7
#define pScriptingComponent 'pSCN'
#define pConnectedScriptingComponents 'pSCs'
#define pCurrentFolder 'pCuF'
#define pFrontWindowType 'pFWT'
#define pDialogBoxOpen 'pDBO'
#define pFilterIgnoresCase 'fIgC'
#define pScriptExecutionResult 'ScRs'
#define pFontID 'pfid'
#define pLeading 'plht'
#define pTabByteWidth 'pTbW'
#define pTabWidth 'pTbW'
#define pPositio 'ppos' // obsolete in 'aete' but still handled (QuoEdit now gets pPosition 'posn' from FinderRegistry.h and FinderRegistry.r.)
#define pBoundsSize 'pBSz'
#define pLineWrapKind 'pLWK'
#define pLineWidth 'pL W'
#define pLineByteWidth 'pLBW'
#define pRightToLeft 'pR2L'
#define pPrintHeader 'pPrH'
#define pPrintFooter 'pPrF'
#define pPrintReturns 'pPrR'
#define pPrintTabs 'pPrT'
#define pSaveStyl 'pSst'
#define pSavePageSetup 'pSPS'
#define pSaveResource 'pSRs' // not supported
#define pPrintRecord 'pPRc'
#define pEditType 'EdTy'
#define pEntry 'pEnt'
#define pIsPropsModified 'iPMd'
#define pActiveEndOfSelection 'ActE'
#define pLinesPerPage 'LsPg' // since 0.7
#define pByteLength 'blen' // pLength is now number of characters
#define pByteOffset 'bofs'
#define pOffset 'ofse' // now defined as "offset by character" like STE
#define pParagraphPosition 'prPs'
#define pLinePosition 'lnPs'
#define pCharacterCode 'pCCd'
#define pHowManyChars 'pHMC'
#define pHowManyWords 'pHMW'
#define pHowManyLines 'pHML'
#define pHowManyParas 'pHMP'
#define pHowManyTextItems 'pHMI'
#define pHitContainer 'HCtn' // pContainer is not used in this appl
#define pContainerClass 'CnCl'
#define pContainerName 'CnNm'
#define pMatchString 'MtSt'
#define pHowManyHitsGroups 'pHMG'
#define pHowManyHits 'pHMH'
#define pAdditional 'pAdd' // since 0.7
#define pAttachment 'pAtc' // since 0.7
#define pAttachmentType 'pAtT' // since 0.7
#define pHowManyMenuItems 'pHMi' // since 0.7
#define pOptionalInfo 'iOpt' // since 0.7
#define pRequiredWindowType 'pRWT' // since 0.7
#define pRequireSelection 'pRqS' // since 0.7
#define pRequireContents 'pRqC' // since 0.71
#define pRequireScrapText 'pRqX' // since 0.71 ("requiring clipboard")
#define pSelectionLevel 'SeLv' // since 0.7
//#define pUsedByCMForContents 'uCM ' // since 0.7
#define pUsedByCMInEditArea 'uCM ' // since 0.7
/* types */
#define typeFindDirection 'fDir' // (typeEnumerated)
#define typeDesiredSearchLevel 'SLev' // (typeEnumerated)
#define typeUpOrDown 'UpDn' // (typeEnumerated)
#define typeTlSubscript 'TlSM' // (typeEnumerated)
#define typeTlTargetModifier 'TlTM' // (typeEnumerated)
#define typeKeyKind 'KKin' // (typeEnumerated)
#define typeModifierKeys 'ModK' // (typeEnumerated)
#define typeRelationalTextLoc 'RTxL' // (typeEnumerated)
#define typePrintRecord 'PREC'
#define typeMenuItemKinds 'MIKd' // since 0.7
//#define typeYesOrNo 'YorN' // obsolete (but QuoEdit still accepts kAEYes/kAENo for a while)
/* enumerations */
#define kAEForward 'Fw '
#define kAEBackward 'Bw '
#define kAEOne 'One '
#define kAEEachOne 'eOne'
#define kAEAllFirst 'allF' // batch find but first matches only
#define kAEUpward 'Up '
#define kAEDownward 'Down'
#define eQELeftArrow 'LArK'
#define eQERightArrow 'RArK'
#define eQEDownArrow 'DArK'
#define eQEUpArrow 'UArK'
#define eQEBSKey 'BS K'
#define eQEFwdDelKey 'FD K'
#define eQETabKey 'TabK'
#define eQEReturnKey 'CR K'
#define eQEEnterKey 'EntK'
#define eQEHomeKey 'HomK'
#define eQEEndKey 'EndK'
#define eQEPageUpKey 'PU K'
#define eQEPageDownKey 'PD K'
#define eQEShiftKey 'ShfK'
#define eQEOptionKey 'OptK'
#define eQECommandKey 'CmdK'
#define eQEControlKey 'CtrK'
#define eQEBgnOfDoc 'b_Dc'
#define eQEEndOfDoc 'e_Dc'
#define eQEBgnOfPara 'b_Pr'
#define eQEEndOfPara 'e_Pr'
#define kAERoman 'Rm '
#define kAENative 'Natv'
#define kAERoman1 'Rm1 '
#define kAERoman2 'Rm2 '
#define kAEKatakana1 'KK1 '
#define kAEKatakana 'KK2 '
#define kAEHiragana 'HG2 '
#define kAEHangul 'Hg2 '
#define kAEJamo 'Jm2 '
#define kAEBopomofo 'Bp2 '
#define kAEUppercase 'uppc' // only kAELowercase could be found in Apple’s Interfaces
#define eMIKindRunScript 'mRSc' // since 0.7
#define eMIKindFinderOpen 'mFOp' // since 0.7
#define eMIKindTypeText 'mTyp' // since 0.7
#define eMIKindTagText 'mTag' // since 0.7
#define eMIKindSubmenu 'mSbm' // since 0.7
#define eMIKindDivider 'mDiv' // since 0.7
/*
Event class of select event is still kAEMiscStandards. <- "Winter 1992 Apple Event Registry Errata"
*/
/*
Dear programmers,
If your scriptable application operates on text including 2-byte characters,
I'd like to recommend you to support 'byt ', 'blen' and 'bofs' defined in this file
to distinguish Character and Byte.
*/